Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] 기존 S3 url을 CloudFront를 통한 url로 변경 #57

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

dong2ast
Copy link
Contributor

📌 관련 이슈

closed #56

✨ 어떤 이유로 변경된 내용인지

  • 이미지 캐시를 하여 서버와의 통신을 줄이고 클라 단에서 이미지 로딩 속도를 향상시키기 위한 작업을 진행했습니다.
  • AWS의 CloudFront 서비스를 이용해 CDN을 구현하고 Edge Location을 이용해 캐시 서버를 구현하였습니다.
  • (우리 EC2 내에는 따로 부하가 가지 않습니다!)
  • 업로드(PresignedURL)는 기존 S3버킷의 URL을 통해 진행하고 이미지를 불러올 때만 CloudFront를 통해 진행하도록 구현했습니다.

🙏 검토 혹은 리뷰어에게 남기고 싶은 말

  • 기존 S3로직을 최대한 수정하지 않고 진행했습니다.
  • 로컬이랑 클라단 테스트로는 CloudFront URL로 성공적으로 불러와졌는데, 그 외에 비즈니스 로직 상에 취약점이 존재하거나 개선점이 있으면 자유롭게 리뷰해주세요~~

@dong2ast dong2ast self-assigned this Jan 14, 2024
@dong2ast dong2ast linked an issue Jan 14, 2024 that may be closed by this pull request
3 tasks
@dong2ast dong2ast added 🧹Chore 동작에 영향 없는 코드 or 파일, 폴더 관련 수정사항 🚀Deploy 배포 관련 ✨Feat 새로운 기능 추가 동휘⚡️ 🔥 Pull Request PR 날림 labels Jan 14, 2024
@ddongseop ddongseop changed the title ✨ [FEAT] 기존 S3 url을 CloudFront를 통한 url로 변경 [FEAT] 기존 S3 url을 CloudFront를 통한 url로 변경 Jan 14, 2024
Copy link
Contributor

@eeddiinn eeddiinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨슴당 !!!! 🤭

Copy link
Member

@ddongseop ddongseop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

테스트 완료! 어프롭 갑시다!

@dong2ast dong2ast merged commit 010dbca into develop Jan 15, 2024
1 check passed
@dong2ast dong2ast deleted the feat/#56-add_image_cache branch January 15, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹Chore 동작에 영향 없는 코드 or 파일, 폴더 관련 수정사항 🚀Deploy 배포 관련 ✨Feat 새로운 기능 추가 동휘⚡️ 🔥 Pull Request PR 날림
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 이미지 캐싱 기능 구현
3 participants